package com.edwin.websitebe.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.edwin.websitebe.mapper.BoxGameTypeMapper;
import com.edwin.websitebe.mapper.GameTypeMapper;
import com.edwin.websitebe.model.BoxGameType;
import com.edwin.websitebe.model.GameType;
import com.edwin.websitebe.service.BoxGameTypeService;
import com.edwin.websitebe.service.GameTypeService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BoxGameTypeServiceImpl extends ServiceImpl<BoxGameTypeMapper, BoxGameType>
        implements BoxGameTypeService {

    @Override
    public List<BoxGameType> listByGameId(Long gameId) {
        List<BoxGameType> list = this.getBaseMapper().listByGameId(gameId);
        return list;
    }

}
